<div>
	<h2>Virtual Tour Social Media</h2>
	<div id="loginform" class="module-body yui3-widget-bd clearfix form">
	  <article>
	    <div>
        <a href="#TW_LINK#">
         <img src="img/tw_connect.png">
        </a>
        <a href="#FB_LINK#">
         <img src="img/fb_connect.png">
        </a>
	    </div>
	    <form action="/" method="post" name="ingreso" id="ingreso">
	    <input type="hidden" name="app" value="user" />
      <input type="hidden" name="task" value="login" />
      <input type="hidden" name="returnOK" value="/?ok=1" />
      <input type="hidden" name="returnError" value="/?error=1" />
	      <div class="middle">
	        
			<div class="field user">
			  <label>
			    $$usuario$$
			  </label>
			  <input id="login_user" class="virgen" value="$$usuario$$" onfocus="this.value='';this.className=''" name="user" size="30" type="text" required />
			</div>
			<div class="field password">
			  <label>
			    $$login_password$$
			  </label>
			  <input id="login_password" class="virgen" value="$$login_password$$" onfocus="this.value='';this.className=''" name="password" size="30" type="password" required />
			</div>
	      </div>
	      <div class="bottom">
			<input type="submit" value="$$entrar$$" class="button submit">
			<input type="button" value="$$registrarse$$" class="button button_registro">
			<div class="links">
			  <a href="login/remember">$$login_forget_your_password$$</a>
			</div>
	      </div>
	    </form>
	  </article>
	</div>
</div>






<div style="display:none">
	<div class="formulario form" id="registerForm">
	  <form id="registrationForm" class="auth-form clearfix show-consumer" method="post" name="registrationForm" action="/">
	    <input name="app" value="login" type="hidden">
	    <input name="task" value="register" type="hidden">
	    <input id="fbtoken" name="fbtoken" value="" type="hidden">
	    <div class="top">
	      <h2> $$User_registration$$</h2>
	    </div>
	    <div class="middle">
	      <div class="field">
		<label for="emailAddr">$$login_email$$:</label>
		<input value="#EMAIL#" id="emailAddr" name="emailAddr" maxLength="255" type="email" required="required" autocomplete="off" size="30">
	      </div>
	      <div class="field">
		<label for="screen_name">$$Screen_name$$:</label>
		<input id="screen_name" value="#NOMBRE#" name="screenName" maxLength="255" type="text" required="required" autocomplete="off" size="30">
	      </div>
	      <div class="field">
		<label for="password">$$login_password$$:</label>
		<input name="password" type="password" id="password"  maxLength="20" required="required" autocomplete="off">
	      </div>
	      <div class="field">
		<label for="passwordConfirm">$$Password_Confirm$$:</label>
		<input id="passwordConfirm" name="passwordConfirm" maxLength="20" type="password" required="required" autocomplete="off">
	      </div>
	    </div>
	    <div class="bottom">
	      <div class="advertencia">
		      $$Accept_Terms$$.
	      </div>
	      <input type="submit" value="Registrarse">
	    </div>
	  </form>
	</div>
</div>



<script type="text/javascript">
$(document).ready(
  function(){
	$("#loginform").login({register:"#registerForm"});
	}
);
</script>